import { axios } from "@/utils/request";

//获取分类
export function getClassInfo(parameter) {
  return axios({
    url: "/api/get_class_info",
    method: "get",
    data: parameter
  });
}
//获取商品类型
export function getGoodsType(params) {
  return axios({
    url: "/admin/get_goods_type",
    method: "get",
    params: params
  });
}
//获取商品列表
export function getGoodsList(params) {
  return axios({
    url: "/api/get_goods_list",
    method: "get",
    params: params
  });
}
